Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODEmbeddedFramesIterator


Next

The Next method should return a reference to the next frame in the iteration sequence.

ODFrame Next ();
return value
A reference to the next frame in the iteration sequence, or kODNULL if you have reached the last frame.
DISCUSSION
A client of this embedded-frames iterator calls this method. If the client calls this method before calling this embedded-frames iterator's First method to begin the iteration, then this method works the same as calling the First method.

Your override of this method should not increment the reference count of the returned frame object.

OVERRIDING
When you subclass ODEmbeddedFramesIterator, you must override this method. Your override method must not call its inherited method; that is, your override method must implement this method's functionality completely.

EXCEPTIONS
kODErrIteratorOutOfSync
The list of embedded frames for the part was modified while the iteration was in progress.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help